﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientConclusionListGenerator
{
    public static class SimpleLogger
    {
        private static readonly string LogFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "client_proc_log.txt");


        public static void Log(IEnumerable<string> msgList)
        {
            if (!File.Exists(LogFile))
                using (File.Create(LogFile)) { }

            File.AppendAllLines(LogFile, msgList);
        }
    }
}
